<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>Document</title>
	</head>
	<body>
		<script type="text/javascript" >
			// console.log(name)
			// var name = 'tom'

			/* function demo(name) {
				let obj = {a:1}
				obj.name = name
			}
			demo()
			console.log(name) */

			/* function test() {
				return 100
			}
			test()
			test.name = 'atguigu'
			test.age = 18
			// console.log(test().name)
			console.log(test.name,test.age) */

			/* const a = [1,2,3]
			const b = [4,5,6]
			const demo = {}
			demo[a] = '张三'
			demo[b] = 18
			console.log(demo) */


		</script>
	</body>
</html>